package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/*
 *@AUTHOR:LIUCHAO;
 *@DATE: 2020/9/6 20:55
 * selectByCondition
 */
@Repository
public interface CheckItemDao {

    abstract void add(CheckItem checkItem);

    abstract Page<CheckItem> selectByCondition(String queryString);

    abstract void delete(Integer id);

    abstract long findCountByCheckItemId(Integer checkItemId);

    abstract void update(CheckItem checkItem);

    abstract List<CheckItem> findAll();

    CheckItem findById(Integer checkItemId);
}
